package com.leyou.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "ly.cors")
@Data
public class CORSProperties {
    private List<String> allowedOrigin;
    private Boolean allowCredentials;
    private List<String> allowedMethod;
    private List<String> allowedHeader;
    private Long maxAge;
    private String filterPath;
}
